package com.xbmzdx.fstj_app.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;

/**
 * <p>
 * 
 * </p>
 *
 * @author ljq
 * @since 2022-03-13
 */
@ToString
@Getter
@Setter
@Data
@AllArgsConstructor
@NoArgsConstructor
//@Accessors(chain = true)
@TableName("demandword")
@ApiModel(value = "Demandword对象", description = "")
public class Demandword implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("敏感词主键")
    @TableId(value = "id", type = IdType.ID_WORKER_STR)
    private String id;

    @ApiModelProperty("敏感词")
    @TableField("badword")
    private String badword;

    @ApiModelProperty("创建时间")
    @TableField("createtime")
    private String createtime;

    @ApiModelProperty("0:未删除。1:已删除")
    @TableField("isdelete")
    @TableLogic
    private Integer isdelete;

    @TableField("version")
    private Integer version;
}
